package cn.tedu.order.mapper;

import cn.tedu.order.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

public interface OrderMapper  extends BaseMapper<Order> {
    void create(Order order);

    //修改状态
    void updateStatus(@Param("orderId") Long orderId,
                      @Param("status") Integer status);

    //删除订单 使用extends的deleteId();



}
